﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebServisArayuz.Master" AutoEventWireup="true"
    CodeBehind="SFGercekKisiVatandaslikIslemleri.aspx.cs" Inherits="TakbisBilgiSorgu_v1.SFGercekKisiVatandaslikIslemleri"  EnableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div class="sayfa_adi">
        Gerçek Kişi / Vatandaşlık İşlemleri
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<form id="form1" runat="server">
<div id="divGetirGercekKisiBilgiIDDen" runat="server"  class="DivTasinmazIslemleriBloklar">
  <div class="DivTasinmazBlokIsim">ID Bilgisi İle Gerçek Kişi Getir</div>
  <div style="clear:both"></div>
  <table class="malikTasinmazTable">
	<tr>
        <td><asp:Label ID="lblGercekKisiID" runat="server" Text="Gercek Kişi ID"></asp:Label></td>
		<td>:</td>
        <td><asp:TextBox ID="txtGercekKisiID" class="textboxs" runat="server" TabIndex="4"> </asp:TextBox></td>
        <td></td>
        <td rowspan="2"><asp:Button ID="btnGetirGercekKisiBilgiIDDen" runat="server" class="butons sorguico"
            TabIndex="13" Text="Sorgula" OnClientClick="return validateData();" 
            OnClick="btnGetirGercekKisiBilgiIDDen_Click" /></td>
        </tr>
 </table>
<div style="clear:both"></div>
</div>
<div id="divgvGercekKisi" runat="server" class="DivTasinmazIslemleriBloklar">
  <div class="DivBlokIsim">GerçGerçek Kişiler</div> <div class="DivExcell"><asp:Button ID="btnGercekKisiExceleYaz" runat="server" class="butons excelli" OnClick="btnGercekKisiExceleYaz_Click"
            TabIndex="9" Text="Excele Yaz" /></div>
  <div class="DivGrid">
      <asp:GridView ID="gvGercekKisi" runat="server" CssClass="grids" AllowPaging="True"
            AutoGenerateColumns="False" DataKeyNames="GercekKisiBilgiID" OnPageIndexChanging="gvGercekKisi_PageIndexChanging"
            OnRowCreated="gvGercekKisi_RowCreated" OnRowDataBound="gvGercekKisi_RowDataBound">
            <Columns>
                <asp:CommandField HeaderText=" Seçim " SelectText="Seç " ShowSelectButton="True"
                    Visible="False" />
                <asp:TemplateField HeaderText="Sec">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBoxGercekKisiBilgi" runat="server"></asp:CheckBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Gerçek Kisi ID">
                    <ItemTemplate>
                        <asp:Label ID="GercekKisiBilgiID" runat="server" Text='<%# Eval("GercekKisiBilgiID") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="TCKimlikNo">
                    <ItemTemplate>
                        <asp:Label ID="TCKimlikNo" runat="server" Text='<%# Eval("TCKimlikNo") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Adı">
                    <ItemTemplate>
                        <asp:Label ID="Ad" runat="server" Text='<%# Eval("Ad") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Soyadı">
                    <ItemTemplate>
                        <asp:Label ID="Soyad" runat="server" Text='<%# Eval("Soyad") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Baba Adı">
                    <ItemTemplate>
                        <asp:Label ID="BabaAd" runat="server" Text='<%# Eval("BabaAd") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Ana Adı">
                    <ItemTemplate>
                        <asp:Label ID="AnaAd" runat="server" Text='<%# Eval("AnaAd") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Dogum Tarihi">
                    <ItemTemplate>
                        <asp:Label ID="DogumTarih" runat="server" Text='<%# Eval("DogumTarih","{0:dd/MM/yyyy}") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Dogum Yeri">
                    <ItemTemplate>
                        <asp:Label ID="DogumYer" runat="server" Text='<%# Eval("DogumYer") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Cinsiyeti">
                    <ItemTemplate>
                        <asp:Label ID="Cinsiyet" runat="server" Text='<%# Eval("Cinsiyet") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Ölüm Tarihi">
                    <ItemTemplate>
                        <asp:Label ID="OlumTarih" runat="server" Text='<%# Eval("OlumTarih","{0:dd/MM/yyyy}") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Aktif Mi">
                    <ItemTemplate>
                        <asp:Label ID="AktifMi" runat="server" Text='<%# Eval("AktifMi") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle CssClass="gridsFooter" />
            <HeaderStyle CssClass="gridsHeader" />
            <PagerStyle CssClass="gridsPager" />
            <RowStyle CssClass="gridsTextColor" />
            <SelectedRowStyle CssClass="selectedRows" />
        </asp:GridView>
  </div>
  <div style="clear:both"></div>
    <div class="srgtipgitsol">
     <asp:Button ID="btnVatandaslikBilgisiGetir" runat="server" class="butons getirico"
            OnClick="btnVatandaslikBilgisiGetir_Click" TabIndex="2" Text="Vatandaşlık Bilgisi Getir"  Width="200"/></div>
<div style="clear:both"></div>
</div>

<div id="divgvGercekKisiVatandaslik" runat="server" class="DivTasinmazIslemleriBloklar">
  <div class="DivBlokIsim">Gerçek Kişi Vatandaşlıklarv> <div class="DivExcell">  <asp:Button ID="btnGercekKisiVatandaslikExceleYaz" runat="server" class="butons excelli"
                OnClick="btnGercekKisiVatandaslikExceleYaz_Click" TabIndex="9" Text="Excele Yaz" /></div>
  <div class="DivGrid">
      <asp:GridView ID="gvGercekKisiVatandaslik" CssClass="grids" DataKeyNames="GercekKisiVatandaslikID"
            align="Center" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            OnPageIndexChanging="gvGercekKisiVatandaslik_PageIndexChanging" OnRowCreated="gvGercekKisiVatandaslik_RowCreated"
            OnRowDataBound="gvGercekKisiVatandaslik_RowDataBound" onselectedindexchanged="gvGercekKisiVatandaslik_SelectedIndexChanged" >
                
            <Columns>
                <asp:CommandField HeaderText=" Seçim " ShowSelectButton="True" SelectText="Seç "
                    Visible="False" />
                <asp:TemplateField HeaderText="GercekKisiVatandaslikID" Visible="false">
                    <ItemTemplate>
                        <asp:Label ID="GercekKisiVatandaslikID" runat="server" Text='<%# Eval("GercekKisiVatandaslikID") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Vatandaslik Tip">
                    <ItemTemplate>
                        <asp:Label ID="VatandaslikTip" runat="server" Text='<%# Eval("VatandaslikTip") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Kanuna Tabi Mi">
                    <ItemTemplate>
                        <asp:Label ID="KanunaTabimi" runat="server" Text='<%# Eval("KanunaTabimi") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Türk Asıllı Mı">
                    <ItemTemplate>
                        <asp:Label ID="TurkAsillimi" runat="server" Text='<%# Eval("TurkAsillimi") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Vatandaslık Açıklama">
                    <ItemTemplate>
                        <asp:Label ID="VatandaslikAciklama" runat="server" Text='<%# Eval("VatandaslikAciklama") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Ülkesi">
                    <ItemTemplate>
                        <asp:Label ID="Ulke" runat="server" Text='<%# Eval("Ulke.Ad") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Müsadere Kararı Varmı">
                    <ItemTemplate>
                        <asp:Label ID="MusadereKarariVarmi" runat="server" Text='<%# Eval("MusadereKarariVarmi") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Aktif Mi">
                    <ItemTemplate>
                        <asp:Label ID="AktifMi" runat="server" Text='<%# Eval("AktifMi") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle CssClass="gridsFooter" />
            <HeaderStyle CssClass="gridsHeader" />
            <PagerStyle CssClass="gridsPager" />
            <RowStyle CssClass="gridsTextColor" />
            <SelectedRowStyle CssClass="selectedRows" />
        </asp:GridView>
  </div>
  <div style="clear:both"></div>
      <div class="srgtipgitsol">
    <asp:Button ID="btnKanunaTabiMiBelgeGetir" runat="server" class="butons getirico"
            Text="Kanuna Tabi Mi Belge Getir" OnClick="btnKanunaTabiMiBelgeGetir_Click" Width="230" />
        <asp:Button ID="btnTurkAsilliMiBelgegetir" runat="server" class="butons getirico"
            OnClick="btnTurkAsilliMiBelgegetir_Click" Text="Türk Asıllı Mı Belge Getir" Width="230"/></div>
    <div class="srgtipgit">
   <asp:Button ID="Button1" class="butons gerico" runat="server" Text="Sorgu Tiplerine Git" />
</div>
<div style="clear:both"></div>
</div>
</div>      
    <div id="divgvBelge" runat="server">
        <asp:Button ID="btnBelgeExceleYaz" runat="server" class="butons excelli" OnClick="btnBelgeExceleYaz_Click"
            TabIndex="9" Text="Excele Yaz" />
        <asp:GridView ID="gvBelge" CssClass="grids" runat="server" align="Center" AllowPaging="True"
            AutoGenerateColumns="False">
            <Columns>
                <asp:TemplateField HeaderText="BelgeID" Visible="false">
                    <ItemTemplate>
                        <asp:Label ID="BelgeID" runat="server" Text='<%# Eval("BelgeID") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Belge Tip">
                    <ItemTemplate>
                        <asp:Label ID="BelgeTip" runat="server" Text='<%# Eval("BelgeTip") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Açıklama">
                    <ItemTemplate>
                        <asp:Label ID="Aciklama" runat="server" Text='<%# Eval("Aciklama") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Düzenleyen">
                    <ItemTemplate>
                        <asp:Label ID="Duzenleyen" runat="server" Text='<%# Eval("Duzenleyen") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Düzenleyen Tip">
                    <ItemTemplate>
                        <asp:Label ID="DuzenleyenTipi" runat="server" Text='<%# Eval("DuzenleyenTipi") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Konu">
                    <ItemTemplate>
                        <asp:Label ID="Konu" runat="server" Text='<%# Eval("Konu") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Sayı">
                    <ItemTemplate>
                        <asp:Label ID="Sayi" runat="server" Text='<%# Eval("Sayi") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Tarih">
                    <ItemTemplate>
                        <asp:Label ID="Tarih" runat="server" Text='<%# Eval("Tarih","{0:dd/MM/yyyy}") %>'>
                        </asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle CssClass="gridsFooter" />
            <HeaderStyle CssClass="gridsHeader" />
            <PagerStyle CssClass="gridsPager" />
            <RowStyle CssClass="gridsTextColor" />
            <SelectedRowStyle CssClass="selectedRows" />
        </asp:GridView>
    </div>

    </form>
</asp:Content>
